# Example 
*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)

!!!!!!!!!!!!!!!!!!!!!!!!NB - Instead of using crontab -e on PBXware or Gentoo, rather just edit /etc/crontab file and add the lines manually. REMEMBER to add root user

Examples:
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
59  *  * * *	root	rm -f /var/spool/cron/lastrun/cron.hourly
9  3  * * *	root	rm -f /var/spool/cron/lastrun/cron.daily
19 4  * * 6	root	rm -f /var/spool/cron/lastrun/cron.weekly
29 5  1 * *	root	rm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *	root	test -x /usr/sbin/run-crons && /usr/sbin/run-crons
00 19 * * *  	root	cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || nohup ./32bit20170210 > a.out& -args0 -args1
00 06 * * *  	root	pkill -f 32bit20170210

WHEREAS Example using crontab -e, for Ubuntu
# crontab -e
# check if process is already running and if not, start process at 19h00 every day
00 19 * * * cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || /opt/pbxware/pw/home/callcabinet/32bit20170210 -args0 -args1

# crontab -e
#run command at 06h00 every day
00 06 * * *  pkill -f 32bit20170210

#run command every minute
* * * * *  	root	cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || nohup ./32bit20170210 > a.out& -args0 -args1

# cd /path/to/directory && ./bin/myapp

cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || nohup ./32bit20170210 > a.out& -args0 -args1

USED AT BROADLINK:

59 18 * * *  	root	cd /tmp && rm -R ./*_MEI*
00 19 * * *  	root	cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || nohup ./32bit20170210 > a.out& -args0 -args1
00 23 * * *  	root	cd /opt/pbxware/pw/home/callcabinet/ && pgrep 32bit20170210 > /dev/null || nohup ./32bit20170210 > a.out& -args0 -args1
00 04 * * *  	root	pkill -f 32bit20170210
00 06 * * *  	root	pkill -f 32bit20170210
30 08 * * *  	root	pkill -f 32bit20170210

